﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using GBL.Repository.Resources;

namespace GBL.Repository.CoatOfArms
{
    [Serializable]
    [XmlInclude(typeof(TinctureColor))]
    [XmlInclude(typeof(TinctureFur))]
    public abstract class Tincture : EditableResource
    {
        /// <summary>
        /// Gets or sets the identifier.
        /// To define any shape as a unique entity
        /// </summary>
        /// <value>
        /// The identifier.
        /// </value>
        [XmlAttribute]
        public Guid Identifier { get; set; }

        public TinctureType Type { get; set; }
    }
}
